<?php
namespace Fyfyu\Admin\Traits;
use Hyperf\Di\Annotation\Inject;
use Hyperf\Validation\Contract\ValidatorFactoryInterface;

trait Validator
{
    /**
     * @Inject()
     * @var ValidatorFactoryInterface
     */
    protected $validator;
}
